package edu.rjxy.xjdx.emps.service;

import edu.rjxy.xjdx.emps.common.domain.Employee;
import edu.rjxy.xjdx.emps.common.utils.PageInfo;

import java.util.List;

public interface EmployeeService {
    List<Employee> findAll();
    PageInfo<Employee> findEmpByPage(int pageNo, int pageSize);

    void removeEmployeeById(int id);

    int addEmployee(Employee employee);

    Employee findEmployeeById(int id);

    int updateEmployee(Employee employee);
}
